<div class="top" id="top">
  <div class="logo fl-l"><h1><a href="<?php echo ROOT_URL?>?logo"><?php e_h(YF_f::$config['title'])?></a></h1></div>
  <div class="menuB fl-r"><a href="<?php echo ROOT_URL?>?home">首页</a>
   <ul class="menu">
    <li><a href="<?php echo url::g('u=cgoods\sort\v')?>">全部分类</a></li>
    
    <?php foreach (YF_f::initC('\c\link\nav')->findForMark('top') as $v){
        echo '<li><a href="'. htmlq($v['url']) .'">'. htmlq($v['name']) .'</a></li>'; }?>
    
    <li class="buy-che"><a href="<?php echo url::g('u=cshop\cart');?>">购物车<b class="n" id="shop_cart_num"></b></a></li>
    <li><a href="<?php echo ROOT_URL .'?u=cuser\my'?>">个人中心</a></li>
   </ul>
  </div>
  
  <div class="search-d">
    <form method="post" action="<?php echo url::g('u=cgoods\search')?>" onSubmit="return CheckForm(this)">
    	<input type="search" class="search-v" placeholder="关键字" name="qw" value="<?php e_h($g_qw)?>" check="^\S+$" /><button class="search-but" type="submit" />
    </form>
  </div>
  
  
</div>